import axios from 'axios'
import {merge} from '@UTIL'
class Service {
  getPagingData (url, pageData, params) {
    return axios.get(url, {params: merge(pageData, params)})
  }
  get (url, option) {
    return axios.get(url, option)
  }
  post (url, data, option) {
    return axios.post(url, data, option)
  }
}

export default Service
